/**
 * @ author: 汪孟苹
 */
define(["jquery","template",
    "scprit/imgCollection/template/equipmentManagement/equipmentManagement.tpl.js"],
    function ($,template,$tpl) {
    var ui = {};
    ui.modifyEquipInit = function (options) {
        $(options.id).html($tpl.modifyEquipInit());
        var html = template("modifyEquip-tpl", options.data);
        $(options.id).html(html);
    };
    ui.drawSelectOptions = function(options){
        $(options.id).html($tpl.selectOptionsInit());
        var html = template("selectOptions-tpl",options);
        $(options.id).html(html);
    }
    return ui;
});